package com.sharp.socket.io.constant.dict;

import com.sharp.kernel.constant.dict.Dict;
import com.sharp.kernel.constant.dict.MetaDict;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * Title: MessageTypeDict
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2021/2/4 15:24
 * @description Project Name: Seed
 * @Package: com.srct.service.socketio.constant.dict
 */
@MetaDict("CHAT_MESSAGE_DICT")
@AllArgsConstructor
public enum MessageTypeDict implements Dict {
    /**
     * 聊天消息类型
     */
    TEXT("0", "文字", 1),
    IMAGE("1", "图片", 2),
    AUDIO("2", "语音", 3),
    VIDEO("3", "视频", 4),
    HTML("4", "富文本", 5);

    @Setter
    @Getter
    private String value;
    @Setter
    @Getter
    private String label;
    @Setter
    @Getter
    private Integer order;
}
